<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="e" uri="/easytogo-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>左侧树形菜单</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<e:base/>
	<script type="text/javascript">
        setBodyOnLoad(doEventHandler);
        function doEventHandler(){
            var t = uiManager.getObject("leftTree");
            t.setOnClickHandler(function(id){
                var url = t.getUserData(id,"url");
                if(url!=null&&url!=""&&window.parent.frames["mainFrame"].location.href!=easytogo_basepath+url){
	                window.parent.frames["mainFrame"].location.href= "${pageContext.request.contextPath }/"+url;
                }
        	});
        }
    </script>
  </head>
  
  <body>
   <e:tree id="leftTree" treeLoadUrl="${pageContext.request.contextPath }/common/tree_getLeftTreeData.action?admin=1" height="100%" width="282" treeDataMode="json"/>
  </body>
</html>
